package org.example.journal_items;

//import config.WebConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@ComponentScan(basePackages = "org.example.journal_items")
@EntityScan("org.example.journal_items.Entity")
@EnableJpaRepositories("org.example.journal_items.Repository")
@MapperScan({ "org.example.journal_items.Repository", "org.example.journal_items.UserDao" })
public class JournalItemsApplication {
	public static void main(String[] args) {
		SpringApplication.run(JournalItemsApplication.class, args);
	}

}
